Skip to content

Add support for federated authentication with Apple Business Manager#465

Open
daltonclaybrook wants to merge 6 commits into
XcodesOrg:mainfrom
daltonclaybrook:dalton/federated-auth
Open

Add support for federated authentication with Apple Business Manager#465
daltonclaybrook wants to merge 6 commits into
XcodesOrg:mainfrom
daltonclaybrook:dalton/federated-auth

Conversation

@daltonclaybrook
Copy link
Copy Markdown
Contributor

Resolves #260 and #378

This PR adds support for federated authentication with Apple Business Manager. During the login flow, after the user has entered their Apple ID, the app now sends a network request to https://idmsa.apple.com/appleauth/auth/federate/validate to check whether the provided Apple ID uses federated auth. If so, instead of prompting for the user's password, the app now provides instructions for completing auth. The app opens a web browser where the user completes authentication with their identity provider and is redirected to a blank page. Finally, the user copies the URL from the browser, pastes it into their terminal, and can perform authenticated requests.

image

@daltonclaybrook
Copy link
Copy Markdown
Contributor Author

Hey @MattKiazyk, is there any appetite for merging this change? I know my team would really appreciate it.

@kishjayson
Copy link
Copy Markdown

Any updates?

@daltonclaybrook
Copy link
Copy Markdown
Contributor Author

@kishjayson None from me. Just waiting for approval... 😕

@ecunha-collectivus
Copy link
Copy Markdown

any news on this?

@stephenlaide
Copy link
Copy Markdown

This would be super helpful for my team too 🙏

@MattKiazyk
Copy link
Copy Markdown
Contributor

There's a beta version out that integrates this in (sorry for not merging this one in - there's a lot of refactoring that's gone into both cli and UI - and it was simpler to grab and integrate with the changes)

If you could test that out. That would be amazing. Plan to get this out before WWDC and beta season.

@stephenlaide
Copy link
Copy Markdown

I've just tested it and it works well 🙏 thanks for all the work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for AppleID with Business Manager (Federated Authentication)

5 participants